<template>
  <div>
    <!-- <p>{{ props.count }}</p> -->
    <p>{{ props.title }}</p>
    <p>{{ props.descript }}</p>
  </div>
</template>

<script lang='ts'>
export default {
  name: '子组件',
}
</script>

<script lang='ts' setup>
import { ref, h, type Ref, isRef, reactive, isReactive, readonly, isReadonly, toRef, toRefs, unref, isProxy } from 'vue';
const props = defineProps({
  title: String,
  // count: Number,
  descript: {
    type: [String, Number],
    required: true
  }
})
</script>
